package com.fulihui.common.enums;

/**
 * 包含还是排除枚举
 *
 * @author wang_wx
 * @date 2018-07-05
 */
public enum ContainOrEliminateEnum implements BaseEnum {
    CONTAIN("contain", "包含"),
    ELIMINATE("eliminate", "排除");
    private String code;
    private String desc;

    /**
     * 构造方法.
     *
     * @param code code代码
     * @param desc 描述
     */
    private ContainOrEliminateEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
